package com.example.gateway.designPattern.simpleFactory;

import lombok.Data;

/**
 * @ClassName: Pizza
 * @Description:
 * @Author: YourName
 * @Date: 2024/12/31
 */
@Data
public class Pizza {
    public String name;

    public void prepare() {
        System.out.println(this.name+"---->prepare");
    }
    public void bake() {

        System.out.println(this.name+"---->bake");
    }
    public void cut() {
        System.out.println(this.name+"---->cut");
    }
    public void box() {
        System.out.println(this.name+"---->box");
    }

}
